package com.josework.springhelloworld.dto;

import java.util.List;

public class PageResult <T>{

    public long totalCount;

    public List<T> list;

    public T total;

    public PageInfo pageInfo;

    public PageResult(List<T> data, long count, PageInfo page, T totalRow) {
        list = data;
        totalCount = count;
        pageInfo = page;
        total = totalRow;
    }

}
